<?php
	require_once $ubi['SERVER']['SERVER_ROOT'] . '/dao/daoOccupation.php';
	
	class OccupationBus {
		private $_occupationDao;	
			
		public function __construct() {
			$this->_occupationDao = new OccupationDao();		
		}
		
		public function getOccupationList() {
			$listOccupation = $this->_occupationDao->getOccupationList();
			return $listOccupation;
		}
		
		public function getOccupation($occupationId) {
			return $this->_occupationDao->getOccupation($occupationId);
		}
	} 
?>